congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AddPermissionRequest.getLabel
Code IndexAdd Tabnine to your IDE (free)

How to use
getLabel
method
in
com.amazonaws.services.sqs.model.AddPermissionRequest

Best Java code snippets using com.amazonaws.services.sqs.model.AddPermissionRequest.getLabel (Showing top 16 results out of 315)

origin: aws/aws-sdk-java

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getQueueUrl() == null) ? 0 : getQueueUrl().hashCode());
  hashCode = prime * hashCode + ((getLabel() == null) ? 0 : getLabel().hashCode());
  hashCode = prime * hashCode + ((getAWSAccountIds() == null) ? 0 : getAWSAccountIds().hashCode());
  hashCode = prime * hashCode + ((getActions() == null) ? 0 : getActions().hashCode());
  return hashCode;
}
origin: aws/aws-sdk-java

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 *
 * @return A string representation of this object.
 *
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append("{");
  if (getQueueUrl() != null)
    sb.append("QueueUrl: ").append(getQueueUrl()).append(",");
  if (getLabel() != null)
    sb.append("Label: ").append(getLabel()).append(",");
  if (getAWSAccountIds() != null)
    sb.append("AWSAccountIds: ").append(getAWSAccountIds()).append(",");
  if (getActions() != null)
    sb.append("Actions: ").append(getActions());
  sb.append("}");
  return sb.toString();
}
origin: aws/aws-sdk-java

@Override
public boolean equals(Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (obj instanceof AddPermissionRequest == false)
    return false;
  AddPermissionRequest other = (AddPermissionRequest) obj;
  if (other.getQueueUrl() == null ^ this.getQueueUrl() == null)
    return false;
  if (other.getQueueUrl() != null && other.getQueueUrl().equals(this.getQueueUrl()) == false)
    return false;
  if (other.getLabel() == null ^ this.getLabel() == null)
    return false;
  if (other.getLabel() != null && other.getLabel().equals(this.getLabel()) == false)
    return false;
  if (other.getAWSAccountIds() == null ^ this.getAWSAccountIds() == null)
    return false;
  if (other.getAWSAccountIds() != null && other.getAWSAccountIds().equals(this.getAWSAccountIds()) == false)
    return false;
  if (other.getActions() == null ^ this.getActions() == null)
    return false;
  if (other.getActions() != null && other.getActions().equals(this.getActions()) == false)
    return false;
  return true;
}
origin: aws/aws-sdk-java

if (addPermissionRequest.getLabel() != null) {
  request.addParameter("Label", StringUtils.fromString(addPermissionRequest.getLabel()));
origin: aws-amplify/aws-sdk-android

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getQueueUrl() == null) ? 0 : getQueueUrl().hashCode());
  hashCode = prime * hashCode + ((getLabel() == null) ? 0 : getLabel().hashCode());
  hashCode = prime * hashCode
      + ((getAWSAccountIds() == null) ? 0 : getAWSAccountIds().hashCode());
  hashCode = prime * hashCode + ((getActions() == null) ? 0 : getActions().hashCode());
  return hashCode;
}
origin: aws-amplify/aws-sdk-android

/**
 * Returns a string representation of this object; useful for testing and
 * debugging.
 *
 * @return A string representation of this object.
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append("{");
  if (getQueueUrl() != null)
    sb.append("QueueUrl: " + getQueueUrl() + ",");
  if (getLabel() != null)
    sb.append("Label: " + getLabel() + ",");
  if (getAWSAccountIds() != null)
    sb.append("AWSAccountIds: " + getAWSAccountIds() + ",");
  if (getActions() != null)
    sb.append("Actions: " + getActions());
  sb.append("}");
  return sb.toString();
}
origin: aws-amplify/aws-sdk-android

if (other.getQueueUrl() != null && other.getQueueUrl().equals(this.getQueueUrl()) == false)
  return false;
if (other.getLabel() == null ^ this.getLabel() == null)
  return false;
if (other.getLabel() != null && other.getLabel().equals(this.getLabel()) == false)
  return false;
if (other.getAWSAccountIds() == null ^ this.getAWSAccountIds() == null)
origin: aws-amplify/aws-sdk-android

  request.addParameter(prefix, StringUtils.fromString(queueUrl));
if (addPermissionRequest.getLabel() != null) {
  prefix = "Label";
  String label = addPermissionRequest.getLabel();
  request.addParameter(prefix, StringUtils.fromString(label));
origin: com.amazonaws/aws-android-sdk-sqs

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getQueueUrl() == null) ? 0 : getQueueUrl().hashCode());
  hashCode = prime * hashCode + ((getLabel() == null) ? 0 : getLabel().hashCode());
  hashCode = prime * hashCode
      + ((getAWSAccountIds() == null) ? 0 : getAWSAccountIds().hashCode());
  hashCode = prime * hashCode + ((getActions() == null) ? 0 : getActions().hashCode());
  return hashCode;
}
origin: com.amazonaws/aws-java-sdk-sqs

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getQueueUrl() == null) ? 0 : getQueueUrl().hashCode());
  hashCode = prime * hashCode + ((getLabel() == null) ? 0 : getLabel().hashCode());
  hashCode = prime * hashCode + ((getAWSAccountIds() == null) ? 0 : getAWSAccountIds().hashCode());
  hashCode = prime * hashCode + ((getActions() == null) ? 0 : getActions().hashCode());
  return hashCode;
}
origin: com.amazonaws/aws-java-sdk-sqs

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 *
 * @return A string representation of this object.
 *
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append("{");
  if (getQueueUrl() != null)
    sb.append("QueueUrl: ").append(getQueueUrl()).append(",");
  if (getLabel() != null)
    sb.append("Label: ").append(getLabel()).append(",");
  if (getAWSAccountIds() != null)
    sb.append("AWSAccountIds: ").append(getAWSAccountIds()).append(",");
  if (getActions() != null)
    sb.append("Actions: ").append(getActions());
  sb.append("}");
  return sb.toString();
}
origin: com.amazonaws/aws-android-sdk-sqs

/**
 * Returns a string representation of this object; useful for testing and
 * debugging.
 *
 * @return A string representation of this object.
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append("{");
  if (getQueueUrl() != null)
    sb.append("QueueUrl: " + getQueueUrl() + ",");
  if (getLabel() != null)
    sb.append("Label: " + getLabel() + ",");
  if (getAWSAccountIds() != null)
    sb.append("AWSAccountIds: " + getAWSAccountIds() + ",");
  if (getActions() != null)
    sb.append("Actions: " + getActions());
  sb.append("}");
  return sb.toString();
}
origin: com.amazonaws/aws-java-sdk-sqs

@Override
public boolean equals(Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (obj instanceof AddPermissionRequest == false)
    return false;
  AddPermissionRequest other = (AddPermissionRequest) obj;
  if (other.getQueueUrl() == null ^ this.getQueueUrl() == null)
    return false;
  if (other.getQueueUrl() != null && other.getQueueUrl().equals(this.getQueueUrl()) == false)
    return false;
  if (other.getLabel() == null ^ this.getLabel() == null)
    return false;
  if (other.getLabel() != null && other.getLabel().equals(this.getLabel()) == false)
    return false;
  if (other.getAWSAccountIds() == null ^ this.getAWSAccountIds() == null)
    return false;
  if (other.getAWSAccountIds() != null && other.getAWSAccountIds().equals(this.getAWSAccountIds()) == false)
    return false;
  if (other.getActions() == null ^ this.getActions() == null)
    return false;
  if (other.getActions() != null && other.getActions().equals(this.getActions()) == false)
    return false;
  return true;
}
origin: com.amazonaws/aws-android-sdk-sqs

if (other.getQueueUrl() != null && other.getQueueUrl().equals(this.getQueueUrl()) == false)
  return false;
if (other.getLabel() == null ^ this.getLabel() == null)
  return false;
if (other.getLabel() != null && other.getLabel().equals(this.getLabel()) == false)
  return false;
if (other.getAWSAccountIds() == null ^ this.getAWSAccountIds() == null)
origin: com.amazonaws/aws-java-sdk-sqs

if (addPermissionRequest.getLabel() != null) {
  request.addParameter("Label", StringUtils.fromString(addPermissionRequest.getLabel()));
origin: com.amazonaws/aws-android-sdk-sqs

  request.addParameter(prefix, StringUtils.fromString(queueUrl));
if (addPermissionRequest.getLabel() != null) {
  prefix = "Label";
  String label = addPermissionRequest.getLabel();
  request.addParameter(prefix, StringUtils.fromString(label));
com.amazonaws.services.sqs.modelAddPermissionRequestgetLabel

Javadoc

The unique identification of the permission you're setting (for example, AliceSendMessage). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-), and underscores ( _).

Popular methods of AddPermissionRequest

  • <init>
    Constructs a new AddPermissionRequest object. Callers should use the setter or fluent setter (with..
  • getAWSAccountIds
    The AWS account number of the principal [http://docs.aws.amazon.com/general/latest/gr/glos-chap.htm
  • getActions
    The action the client wants to allow for the specified principal. Valid values: the name of any act
  • getQueueUrl
    The URL of the Amazon SQS queue to which permissions are added. Queue URLs and names are case-sen
  • setAWSAccountIds
    The AWS account number of the principal [http://docs.aws.amazon.com/general/latest/gr/glos-chap.htm
  • setActions
    The action the client wants to allow for the specified principal. Valid values: the name of any act
  • setLabel
    The unique identification of the permission you're setting (for example, AliceSendMessage). Maximu
  • setQueueUrl
    The URL of the Amazon SQS queue to which permissions are added. Queue URLs and names are case-sen
  • withAWSAccountIds
    The AWS account number of the principal [http://docs.aws.amazon.com/general/latest/gr/glos-chap.htm
  • withActions
    The action the client wants to allow for the specified principal. Valid values: the name of any act
  • withLabel
    The unique identification of the permission you're setting (for example, AliceSendMessage). Maximu
  • withQueueUrl
    The URL of the Amazon SQS queue to which permissions are added. Queue URLs and names are case-sen
  • withLabel,
  • withQueueUrl

Popular in Java

  • Creating JSON documents from java classes using gson
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • scheduleAtFixedRate (Timer)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JButton (javax.swing)
  • JPanel (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now