/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.groundstation.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateEphemerisRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* Whether to set the ephemeris status to ENABLED
after validation.
*
* Setting this to false will set the ephemeris status to DISABLED
after validation.
*
* Ephemeris data. *
*/ private EphemerisData ephemeris; /** *
* An overall expiration time for the ephemeris in UTC, after which it will become EXPIRED
.
*
* The ARN of a KMS key used to encrypt the ephemeris in Ground Station. *
*/ private String kmsKeyArn; /** ** A name string associated with the ephemeris. Used as a human-readable identifier for the ephemeris. *
*/ private String name; /** ** Customer-provided priority score to establish the order in which overlapping ephemerides should be used. *
** The default for customer-provided ephemeris priority is 1, and higher numbers take precedence. *
** Priority must be 1 or greater *
*/ private Integer priority; /** ** AWS Ground Station satellite ID for this ephemeris. *
*/ private String satelliteId; /** ** Tags assigned to an ephemeris. *
*/ private java.util.Map
* Whether to set the ephemeris status to ENABLED
after validation.
*
* Setting this to false will set the ephemeris status to DISABLED
after validation.
*
ENABLED
after validation.
*
* Setting this to false will set the ephemeris status to DISABLED
after validation.
*/
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
/**
*
* Whether to set the ephemeris status to ENABLED
after validation.
*
* Setting this to false will set the ephemeris status to DISABLED
after validation.
*
ENABLED
after validation.
*
* Setting this to false will set the ephemeris status to DISABLED
after validation.
*/
public Boolean getEnabled() {
return this.enabled;
}
/**
*
* Whether to set the ephemeris status to ENABLED
after validation.
*
* Setting this to false will set the ephemeris status to DISABLED
after validation.
*
ENABLED
after validation.
*
* Setting this to false will set the ephemeris status to DISABLED
after validation.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEphemerisRequest withEnabled(Boolean enabled) {
setEnabled(enabled);
return this;
}
/**
*
* Whether to set the ephemeris status to ENABLED
after validation.
*
* Setting this to false will set the ephemeris status to DISABLED
after validation.
*
ENABLED
after validation.
*
* Setting this to false will set the ephemeris status to DISABLED
after validation.
*/
public Boolean isEnabled() {
return this.enabled;
}
/**
*
* Ephemeris data. *
* * @param ephemeris * Ephemeris data. */ public void setEphemeris(EphemerisData ephemeris) { this.ephemeris = ephemeris; } /** ** Ephemeris data. *
* * @return Ephemeris data. */ public EphemerisData getEphemeris() { return this.ephemeris; } /** ** Ephemeris data. *
* * @param ephemeris * Ephemeris data. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEphemerisRequest withEphemeris(EphemerisData ephemeris) { setEphemeris(ephemeris); return this; } /** *
* An overall expiration time for the ephemeris in UTC, after which it will become EXPIRED
.
*
EXPIRED
.
*/
public void setExpirationTime(java.util.Date expirationTime) {
this.expirationTime = expirationTime;
}
/**
*
* An overall expiration time for the ephemeris in UTC, after which it will become EXPIRED
.
*
EXPIRED
.
*/
public java.util.Date getExpirationTime() {
return this.expirationTime;
}
/**
*
* An overall expiration time for the ephemeris in UTC, after which it will become EXPIRED
.
*
EXPIRED
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateEphemerisRequest withExpirationTime(java.util.Date expirationTime) {
setExpirationTime(expirationTime);
return this;
}
/**
* * The ARN of a KMS key used to encrypt the ephemeris in Ground Station. *
* * @param kmsKeyArn * The ARN of a KMS key used to encrypt the ephemeris in Ground Station. */ public void setKmsKeyArn(String kmsKeyArn) { this.kmsKeyArn = kmsKeyArn; } /** ** The ARN of a KMS key used to encrypt the ephemeris in Ground Station. *
* * @return The ARN of a KMS key used to encrypt the ephemeris in Ground Station. */ public String getKmsKeyArn() { return this.kmsKeyArn; } /** ** The ARN of a KMS key used to encrypt the ephemeris in Ground Station. *
* * @param kmsKeyArn * The ARN of a KMS key used to encrypt the ephemeris in Ground Station. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEphemerisRequest withKmsKeyArn(String kmsKeyArn) { setKmsKeyArn(kmsKeyArn); return this; } /** ** A name string associated with the ephemeris. Used as a human-readable identifier for the ephemeris. *
* * @param name * A name string associated with the ephemeris. Used as a human-readable identifier for the ephemeris. */ public void setName(String name) { this.name = name; } /** ** A name string associated with the ephemeris. Used as a human-readable identifier for the ephemeris. *
* * @return A name string associated with the ephemeris. Used as a human-readable identifier for the ephemeris. */ public String getName() { return this.name; } /** ** A name string associated with the ephemeris. Used as a human-readable identifier for the ephemeris. *
* * @param name * A name string associated with the ephemeris. Used as a human-readable identifier for the ephemeris. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEphemerisRequest withName(String name) { setName(name); return this; } /** ** Customer-provided priority score to establish the order in which overlapping ephemerides should be used. *
** The default for customer-provided ephemeris priority is 1, and higher numbers take precedence. *
** Priority must be 1 or greater *
* * @param priority * Customer-provided priority score to establish the order in which overlapping ephemerides should be * used. ** The default for customer-provided ephemeris priority is 1, and higher numbers take precedence. *
** Priority must be 1 or greater */ public void setPriority(Integer priority) { this.priority = priority; } /** *
* Customer-provided priority score to establish the order in which overlapping ephemerides should be used. *
** The default for customer-provided ephemeris priority is 1, and higher numbers take precedence. *
** Priority must be 1 or greater *
* * @return Customer-provided priority score to establish the order in which overlapping ephemerides should be * used. ** The default for customer-provided ephemeris priority is 1, and higher numbers take precedence. *
** Priority must be 1 or greater */ public Integer getPriority() { return this.priority; } /** *
* Customer-provided priority score to establish the order in which overlapping ephemerides should be used. *
** The default for customer-provided ephemeris priority is 1, and higher numbers take precedence. *
** Priority must be 1 or greater *
* * @param priority * Customer-provided priority score to establish the order in which overlapping ephemerides should be * used. ** The default for customer-provided ephemeris priority is 1, and higher numbers take precedence. *
** Priority must be 1 or greater * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEphemerisRequest withPriority(Integer priority) { setPriority(priority); return this; } /** *
* AWS Ground Station satellite ID for this ephemeris. *
* * @param satelliteId * AWS Ground Station satellite ID for this ephemeris. */ public void setSatelliteId(String satelliteId) { this.satelliteId = satelliteId; } /** ** AWS Ground Station satellite ID for this ephemeris. *
* * @return AWS Ground Station satellite ID for this ephemeris. */ public String getSatelliteId() { return this.satelliteId; } /** ** AWS Ground Station satellite ID for this ephemeris. *
* * @param satelliteId * AWS Ground Station satellite ID for this ephemeris. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEphemerisRequest withSatelliteId(String satelliteId) { setSatelliteId(satelliteId); return this; } /** ** Tags assigned to an ephemeris. *
* * @return Tags assigned to an ephemeris. */ public java.util.Map* Tags assigned to an ephemeris. *
* * @param tags * Tags assigned to an ephemeris. */ public void setTags(java.util.Map* Tags assigned to an ephemeris. *
* * @param tags * Tags assigned to an ephemeris. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateEphemerisRequest withTags(java.util.Map