Interface Spacecraft
public interface Spacecraft
An immutable client-side representation of Spacecraft.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the Spacecraft definition.static interface
The Spacecraft definition stages.static interface
The template for Spacecraft update.static interface
The Spacecraft update stages. -
Method Summary
Modifier and TypeMethodDescriptionetag()
Gets the etag property: A unique read-only string that changes whenever the resource is updated.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.orbital.fluent.models.SpacecraftInner object.links()
Gets the links property: Immutable list of Spacecraft links.com.azure.core.http.rest.PagedIterable<AvailableContacts>
listAvailableContacts
(ContactParameters parameters) Returns list of available contacts.com.azure.core.http.rest.PagedIterable<AvailableContacts>
listAvailableContacts
(ContactParameters parameters, com.azure.core.util.Context context) Returns list of available contacts.location()
Gets the location property: The geo-location where the resource lives.name()
Gets the name property: The name of the resource.noradId()
Gets the noradId property: NORAD ID of the spacecraft.Gets the provisioningState property: The current state of the resource's creation, deletion, or modification.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.tags()
Gets the tags property: Resource tags.Gets the titleLine property: Title line of the two-line element set (TLE).tleLine1()
Gets the tleLine1 property: Line 1 of the two-line element set (TLE).tleLine2()
Gets the tleLine2 property: Line 2 of the two-line element set (TLE).type()
Gets the type property: The type of the resource.update()
Begins update for the Spacecraft resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
tags
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
etag
String etag()Gets the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
provisioningState
SpacecraftsPropertiesProvisioningState provisioningState()Gets the provisioningState property: The current state of the resource's creation, deletion, or modification.- Returns:
- the provisioningState value.
-
noradId
String noradId()Gets the noradId property: NORAD ID of the spacecraft.- Returns:
- the noradId value.
-
titleLine
String titleLine()Gets the titleLine property: Title line of the two-line element set (TLE).- Returns:
- the titleLine value.
-
tleLine1
String tleLine1()Gets the tleLine1 property: Line 1 of the two-line element set (TLE).- Returns:
- the tleLine1 value.
-
tleLine2
String tleLine2()Gets the tleLine2 property: Line 2 of the two-line element set (TLE).- Returns:
- the tleLine2 value.
-
links
List<SpacecraftLink> links()Gets the links property: Immutable list of Spacecraft links.- Returns:
- the links value.
-
region
com.azure.core.management.Region region()Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()Gets the name of the resource region.- Returns:
- the name of the resource region.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
SpacecraftInner innerModel()Gets the inner com.azure.resourcemanager.orbital.fluent.models.SpacecraftInner object.- Returns:
- the inner object.
-
update
Spacecraft.Update update()Begins update for the Spacecraft resource.- Returns:
- the stage of resource update.
-
refresh
Spacecraft refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
listAvailableContacts
com.azure.core.http.rest.PagedIterable<AvailableContacts> listAvailableContacts(ContactParameters parameters) Returns list of available contacts. A contact is available if the spacecraft is visible from the ground station for more than the minimum viable contact duration provided in the contact profile.- Parameters:
parameters
- The parameters to provide for the contacts.- Returns:
- response for the ListAvailableContacts API service call as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listAvailableContacts
com.azure.core.http.rest.PagedIterable<AvailableContacts> listAvailableContacts(ContactParameters parameters, com.azure.core.util.Context context) Returns list of available contacts. A contact is available if the spacecraft is visible from the ground station for more than the minimum viable contact duration provided in the contact profile.- Parameters:
parameters
- The parameters to provide for the contacts.context
- The context to associate with this operation.- Returns:
- response for the ListAvailableContacts API service call as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-